<?php

namespace Trawind\Remotes\Repositories\Product\Product;


use Trawind\Basics\Enums\ServiceDomain;
use Trawind\Remotes\BaseRepository;
use Trawind\Remotes\Contracts\Repositories\Product\Product\SkuRepository;

/**
 * Class SkuRepositoryEloquent.
 *
 * @package namespace TrawindCloud\Repositories\Product\Products;
 */
class SkuRepositoryEloquent extends BaseRepository implements SkuRepository
{


    public $baseRoute='/product/skus';


    public function __construct()
    {
        $this->domain=ServiceDomain::PRODUCT_DOMAIN();
    }


    public function all($columns = ['*'])
    {
        return $this->setUrl($this->baseRoute)->result();
    }

    public function find($id, $columns = ['*'])
    {
        return $this->setUrl($this->baseRoute.'/'.$id)->result();
    }

    public function create(array $attributes)
    {
        // TODO: Implement create() method.
    }

    public function update(array $attributes, $id)
    {
        // TODO: Implement update() method.
    }

    public function getInchUnit($cmUnit, int $scale = 2)
    {
        // TODO: Implement getInchUnit() method.
    }

    public function getIsOversize(array $attributes)
    {
        // TODO: Implement getIsOversize() method.
    }

    public function getVolumetricWeight(array $attributes)
    {
        // TODO: Implement getVolumetricWeight() method.
    }




}
